# Contributor: rahmanshaber <rahmanshaber@yahoo.com>
# Maintainer: rahmanshaber <rahmanshaber@yahoo.com>
pkgname=paperde
pkgver=0.2.1
pkgrel=1
pkgdesc="A minimalistic Desktop Environment built on top of Qt/Wayland and Wayfire."
# armhf blocked by extra-cmake-modulese
# riscv64 and s390x blocked by polkit
arch="all !armhf !s390x !riscv64"
url="https://gitlab.com/cubocore"
license="GPL-3.0-or-later"
depends="
	wayfire
	xdg-desktop-portal
	"
makedepends="
	dfl-applications-dev
	dfl-ipc-dev
	dfl-login1-dev
	dfl-sni-dev
	libcprime-dev
	libcsys-dev
	libdbusmenu-qt-dev
	meson
	qt5-qtbase-dev
	qt5-qtsvg-dev
	qt5-qttools-dev
	qt5-qtwayland-dev
	samurai
	upower-dev
	wayland-protocols
	wayqt-dev
	xdg-desktop-portal-dev
	"
subpackages="$pkgname-dev"
source="https://gitlab.com/cubocore/paper/paperde/-/archive/v$pkgver/paperde-v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-v$pkgver"
options="!check" # No test suite

build() {
	abuild-meson . output
	meson compile -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="
e391faec794ccf0d780f7796cadfec3d3a2280e0ee9556b0ba5dfd29db86f5efac168e7b9b6b5f34a54917f0ad8d664723b82910bd2a2b396582d82dd6b0cfce  paperde-v0.2.1.tar.gz
"
